package com.hzj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户登录记录表
 * </p>
 *
 * @author hzj
 * @since 2021-05-08
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class UserLoginRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 编号
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 用户id
     */
      private Long userId;

      /**
     * ip
     */
      private String ip;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

      /**
     * 更新时间
     */
      private LocalDateTime updateTime;

      /**
     * 逻辑删除(1:已删除，0:未删除)
     */
      private Integer isDeleted;


}
